public class Customer {
    private Integer id;
    private String customerName;
    private String password1;
    private String password2;
    private float money;

    public Customer() {
    }

    public Customer(Integer id, String customerName, String password1, String password2, float moay) {
        this.id = id;
        this.customerName = customerName;
        this.password1 = password1;
        this.password2 = password2;
        this.money = moay;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getcustomerName() {
        return customerName;
    }

    public void setcustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPassword1() {
        return password1;
    }

    public void setPassword1(String password1) {
        this.password1 = password1;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float moay) {
        this.money = moay;
    }
    @Override
    public String toString() {
        return "Customer [id=" + id + ", customerName=" +
                customerName + ", password1=" + password1 + ", password2 = " + password2 + ", money=" + money + "]";
    }
}
